package edu.vt.cbil.dataset;

import java.util.ArrayList;


/**
 * @author Justin
 * @version 1.0
 * @created 09-11月-2014 10:50:21
 */
public class RawIntensityProbeSet implements Comparable<RawIntensityProbeSet> {

    public Long Loci;
    public String ProbeSetID;
    //public String OtherProbeSetID;
    public short Chr_id;
    public int Start;
    public String Cytoband;
    public boolean Is_CNProbe;
    public boolean Is_SNPProbe;
    public IntensityArray Normal;
    public IntensityArray Tumor;

    public RawIntensityProbeSet() {
        Normal = new IntensityArray();
        Tumor = new IntensityArray();
    }


    @Override
    public int compareTo(RawIntensityProbeSet o) {
        // TODO Auto-generated method stub
        return Loci.compareTo(o.Loci);
    }

    public ArrayList<ArrayList<Float>> getArrays() {

        ArrayList<ArrayList<Float>> ta = new ArrayList<ArrayList<Float>>();
        ta.add(Normal.Allele_A);
        ta.add(Normal.Allele_B);
        ta.add(Normal.CNProbe);

        ta.add(Tumor.Allele_A);
        ta.add(Tumor.Allele_B);
        ta.add(Tumor.CNProbe);

        return ta;
    }

}